package com.shopx.cm.dao.db1;

import com.shopx.cm.bean.CmSync;
import com.shopx.cm.model.CmSyncModel;
import com.shopx.dal.mysql.SqlMapper;
import java.util.List;

/**
 * TODO
 * @author lituo
 * @className: CmSync
 * @date 2025-01-07
 */
@SqlMapper
public interface CmSyncDao {
    /**
     * 查询明细记录
     * @author lituo
     * @date 2025-01-07
     * @param cmSync
     * @return CmSyncModel
     */
    CmSyncModel selectByPrimaryKey(CmSync cmSync);
    /**
     * 新增记录
     * @author lituo
     * @date 2025-01-07
     * @param cmSync
     * @return int
     */
	int insertSelective(CmSync cmSync);

    /**
     * 修改记录
     * @author lituo
     * @date 2025-01-07
     * @param cmSync
     * @return int
     */
	int updateByPrimaryKeySelective(CmSync cmSync);

    /**
     * 删除记录
     * @author lituo
     * @date 2025-01-07
     * @param cmSync
     * @return int
     */
	int deleteByPrimaryKey(CmSync cmSync);

    /**
     * 查询总记录数
     * @author lituo
     * @date 2025-01-07
     * @param cmSync
     * @return int
     */
	int selectCount(CmSyncModel cmSync);

    /**
     * 查询列表
     * @author lituo
     * @date 2025-01-07
     * @param cmSync
     * @return List<CmSyncModel>
*/
	List<CmSyncModel> selectList(CmSyncModel cmSync);
}

